\RequirePackage{fix-cm}
\documentclass [
fontsize=24pt,
headlines=2,
footlines=2,
pdftex,
a4paper,
DIV=50,
BCOR=0pt,
twoside=off,
headinclude=on,
footinclude=on,
mpinclude=off,
]{scrartcl}


%language, encoding
%--------------------------------------
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
%--------------------------------------


%directory and file management
%--------------------------------------
\usepackage{import}
% include pages from other pdfs (e.g. topic/task description)
%\usepackage{pdfpages}
%--------------------------------------


%symbols, math
%--------------------------------------
\usepackage{amsmath, amsthm, amssymb}
\usepackage{mathtools}

\usepackage{siunitx} %-SI units
\sisetup{
	output-decimal-marker={,},
	exponent-product=\ensuremath{\cdot},
	per-mode=symbol,
%	per-symbol=/
}
%\sisetup{output-exponent-marker=\ensuremath{\mathrm{e}}} %e instead of x10^
% for 1e-2 notation with siunitx, write \num{1e-2}, with units use \SI{1e-2}{\meter\per\second}

\usepackage{eurosym}
\usepackage{bm} %bold faced greek
%\addtolength{\jot}{1em} %row spacing for \align environments
\usepackage{nicefrac} % one-line fraction with \nicefrac{a}{b}
\usepackage{icomma} %better comma placement
\allowdisplaybreaks
%--------------------------------------


%graphics
%--------------------------------------
\usepackage{graphicx}
%\usepackage[rawfloats=true]{floatrow}
\usepackage{xcolor}
\graphicspath{
	{./img/}
}
\usepackage[Export]{adjustbox}
%--------------------------------------


%tables
%--------------------------------------
\usepackage{array}
\usepackage{tabularx}
\usepackage{multirow}
\usepackage{bigstrut} %to leave a bit more space around hlines
\setlength{\extrarowheight}{3pt}
\usepackage{dcolumn}
%\usepackage{makecell}
%--------------------------------------


%coding utilities
%--------------------------------------
\usepackage{calc}
\usepackage{xparse}
\usepackage{xpatch} % for patching commands

% etoolbox is used to create simple on/off toggles
\usepackage{etoolbox}

\usepackage{letltxmacro}
\usepackage{pgffor}
%--------------------------------------


%style, formatting
%--------------------------------------
\usepackage[headsepline]{scrlayer-scrpage}
\usepackage[onehalfspacing]{setspace}
%\usepackage{setspace}
%\setstretch{1.2} %line spacing factor
\usepackage{microtype} %increases compile time, but makes everything look better

% customisable enumerations
\usepackage{enumitem}

% code environment with syntax highlighting
\usepackage{minted}
%--------------------------------------


%clickable references
%--------------------------------------
\usepackage{hyperref}
\hypersetup{
	colorlinks,
	urlcolor = black,
	pdfpagemode = UseNone,
	pdfstartview = Fit,
	bookmarksopen = true,
	bookmarksopenlevel= 0,
	bookmarksnumbered = true,
	linkcolor = black,
	plainpages = false,
	hypertexnames = false,
	citecolor = black
}
% for going to the top of an image when a figure reference is clicked
\usepackage[all]{hypcap}